<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>

<%@ attribute name="name" required="true" %>
<%@ attribute name="path" required="true" %>
	<spring:bind path="${path}">
		
		<div class="row">
			<div class="simple_l ${clazz}"><c:out value="${name}"/></div>
			<div class="simple_r"><jsp:doBody/></div>
		</div>
		<c:if test="${status.error}">
			<c:set var="clazz" value=" error"/>
				<c:forEach  items="${status.errorMessages}" var="msg" >
					<div class="row">
						<div class="error"><c:out value="${msg}"/>
					</div>
				</div>
			</c:forEach>
		</c:if>
		
	</spring:bind>